package com.xiaofengstu.mcams.web.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author fengzeng
 * @since 2022-05-07
 */
@Getter
@Setter
@TableName("t_menu")
public class TMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("menu_id")
    private Integer menuId;

    @TableField("authName")
    private String authName;

    @TableField("path")
    private String path;

    @TableField("menu_pid")
    private Integer menuPid;



    @TableField(exist = false)
    private List<TMenu> children;


}
